package com.ruili.framework.controller;

import com.ruili.framework.utils.ip.IpUtils;

public class BaseController {

    protected ResponseInfo getResponseInfo(ResponseEnum responseEnum){
        return ResponseInfo.setResponseEnumAndGet(responseEnum);
    }

    protected String getRequestIp(){
        return IpUtils.getRequestIpAddr();
    }
}
